



package controller;




import bo.BUS_SanPham;
import com.opensymphony.xwork2.ActionSupport;
import dto.DTO_SanPham;
import java.util.ArrayList;




public class TrangChuAction extends ActionSupport {
    private ArrayList<DTO_SanPham> dssp;

    public ArrayList<DTO_SanPham> getDssp() {
        return dssp;
    }

    public void setDssp(ArrayList<DTO_SanPham> dssp) {
        this.dssp = dssp;
    }



    public TrangChuAction() {

    }



    public String execute() throws Exception {

        BUS_SanPham bus = new BUS_SanPham();
        dssp = bus.dsChuDeSP(1);
        return "success";

    }



}